<?php if (!defined('THINK_PATH')) exit();?>﻿<!DOCTYPE html>

<!--[if IE 8]>			<html class="ie ie8"> <![endif]-->
<!--[if IE 9]>			<html class="ie ie9"> <![endif]-->
<!--[if gt IE 9]><!-->	<html> <!--<![endif]-->
	<head>
		<meta charset="utf-8" />
		<title><?php echo ($system["sitename"]); ?></title>
		<meta name="keywords" content=<?php echo ($system["keyword"]); ?> />
		<meta name="description" content=<?php echo ($system["description"]); ?> />

		<!-- mobile settings -->
		<meta name="viewport" content="width=device-width, maximum-scale=1, initial-scale=1, user-scalable=0" />
		<!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->

		<!-- CORE CSS -->
		<link href="/Public/home/style/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />

		<!-- REVOLUTION SLIDER -->
		<link href="/Public/home/style/plugins/slider.revolution/css/extralayers.css" rel="stylesheet" type="text/css" />
		<link href="/Public/home/style/plugins/slider.revolution/css/settings.css" rel="stylesheet" type="text/css" />

		<!-- THEME CSS -->
		<link href="/Public/home/style/css/essentials.css" rel="stylesheet" type="text/css" />
		<link href="/Public/home/style/css/layout.css" rel="stylesheet" type="text/css" />

		<!-- PAGE LEVEL SCRIPTS -->
		<link href="/Public/home/style/css/header-1.css" rel="stylesheet" type="text/css" />
	</head>

	<body class="smoothscroll enable-animation">



		<!-- wrapper -->
		<div id="wrapper">


			<div id="header" class="sticky header-md clearfix">

				<!-- TOP NAV -->
				<header id="topNav">
					<div class="container">

						<!-- Mobile Menu Button -->
						<button class="btn btn-mobile" data-toggle="collapse" data-target=".nav-main-collapse">
							<i class="fa fa-bars"></i>
						</button>

						<!-- Logo -->
						<a class="logo pull-left scrollTo" href="/index.php/home">
                            <?php if(empty($system['logo'])): ?><img src="/Public/img/logo.png" alt="<?php echo ($system["sitename"]); ?>" />
                            <?php else: ?>
							<img src="/Public/<?php echo ($system["logo"]); ?>" alt="<?php echo ($system["sitename"]); ?>" /><?php endif; ?>
						 </a>
						<div class="navbar-collapse pull-right nav-main-collapse collapse submenu-dark">
							<nav class="nav-main">
								<ul id="topMain" class="nav nav-pills nav-main nav-onepage">
									<li class="active">
										<a href="/index.php/home/Index">
											首页
										</a>
									</li>
									<li>
										<a href="/index.php/home/Product">
											产品展示
										</a>
									</li>
									<li>
										<a href="/index.php/home/News">
											行业资讯
										</a>
									</li>
									<li>
										<a href="/index.php/home/About">
											关于我们
										</a>
									</li>
									<li><!-- OVERVIEW -->
										<a href="/index.php/home/About/contact">
											联系我们
										</a>
									</li>

								</ul>

							</nav>
						</div>

					</div>
				</header>
				<!-- /Top Nav -->

			</div>



			<!-- REVOLUTION SLIDER -->
			<div class="slider fullwidthbanner-container roundedcorners">

				<div class="fullwidthbanner" data-height="600" data-shadow="0" data-navigationStyle="preview2">
					<ul class="hide">
					
						<!-- SLIDE  -->
                        <?php if(is_array($ad)): $i = 0; $__LIST__ = $ad;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$ad): $mod = ($i % 2 );++$i;?><li data-transition="parallaxtobottom" data-slotamount="7" data-masterspeed="600"  data-saveperformance="off"  data-title="<?php echo ($ad["ad_name"]); ?>">
							<!-- MAIN IMAGE -->
                           
							<img src="/Public/<?php echo ($ad["ad_img"]); ?>"  alt="cover image"  data-bgposition="center top" data-bgfit="cover" data-bgrepeat="no-repeat">

     							<div class="tp-caption white_big skewfromleft tp-resizeme"
								data-x="471"
								data-y="100" 
								data-speed="400"
								data-start="1500"
								data-easing="Power3.easeInOut"
								data-splitin="words"
								data-splitout="none"
								data-elementdelay="0.1"
								data-endelementdelay="0.1"
								data-endspeed="600"
								style="z-index: 2; color:#fff; font-size:65px; line-height:85px; font-weight:bold; letter-spacing:0; text-shadow:none;">
									<?php echo ($ad["ad_name"]); ?>
							</div>

							<div class="tp-caption content_text_center skewfromleft tp-resizeme"
								data-x="530"
								data-y="195" 
								data-speed="500"
								data-start="2000"
								data-easing="Power3.easeInOut"
								data-splitin="none"
								data-splitout="none"
								data-elementdelay="0.1"
								data-endelementdelay="0.1"
								data-endspeed="600"

								style="z-index: 3; font-size:20px; color:#fff; font-weight:300; text-shadow:none;">
									<?php echo ($ad["ad_description"]); ?>
							</div>

							<div class="tp-caption skewfromleft tp-resizeme  un-button-2-lg"
								data-x="665"
								data-y="300" 
								data-speed="300"
								data-start="2500"
								data-easing="Power3.easeInOut"
								data-splitin="none"
								data-splitout="none"
								data-elementdelay="0.1"
								data-endelementdelay="0.1"
								data-endspeed="300"

								style="z-index: 5; max-width: auto; max-height: auto; white-space: nowrap;">
									<a class="btn btn-warning btn-lg" href="<?php echo ($ad["ad_url"]); ?>">查看详情 &nbsp; <i class="fa fa-angle-right"></i></a>
							</div>
						</li><?php endforeach; endif; else: echo "" ;endif; ?>
                     <!-- SLIDE END -->
					</ul>

				</div>
			</div>
			<!-- /REVOLUTION SLIDER -->


			<hr class="nomargin" /><!-- 1px line separator -->




			
			<!-- Services -->
			<section id="home">
				<div class="container">

					<div class="row">
                    
                    <?php if(is_array($ad_top)): $i = 0; $__LIST__ = $ad_top;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$adtop): $mod = ($i % 2 );++$i;?><div class="col-sm-4">
							<a class="image-hover lightbox" href="/Public/<?php echo ($adtop["ad_img"]); ?>" >
								<span class="image-hover-icon image-hover-dark"><!-- image-hover-light | image-hover-dark -->
									<!--<i class="fa fa-vimeo-square">--><!-- video icon --><!--</i>-->
								</span>
								<img class="img-responsive" src="/Public/<?php echo ($adtop["ad_img"]); ?>" alt="<?php echo ($adtop["ad_name"]); ?>" />
							</a>

							<h3 class="margin-top-10"><?php echo ($adtop["ad_name"]); ?></h3>
							<p style="height:60px;overflow:hidden;"><?php echo ($adtop["ad_description"]); ?></p>
							<a href="<?php echo ($adtop["ad_url"]); ?>" class="btn btn-default">查看详情</a>
						</div><?php endforeach; endif; else: echo "" ;endif; ?>


					</div>

				</div>
			</section>
			<!-- /Services -->

			


			<!-- Parallax -->
			<section class="parallax parallax-1" style="background-image: url('/Public/img/index-center-min.jpg');">
				<div class="overlay dark-5"><!-- dark overlay [1 to 9 opacity] --></div>

				<div class="container">

					<div class="text-center">
						<h2 class="size-40 weight-300">森丰 &amp; 专业塑胶抽粒配色经验之颜料公司</h2>
						<a class="btn btn-default btn-lg" href="#about">了解森丰<i class="fa fa-angle-right"></i></a> 
						&nbsp; OR &nbsp; 
						<a class="btn btn-warning btn-lg" href="/index.php/home/About/contact">联系我们<i class="fa fa-angle-right"></i></a>
					</div>

				</div>
			</section>
			<!-- /Parallax -->




			<!-- PORTFOLIO -->
			<section id="product">
				<div class="container">

					<div class="heading-title heading-dotted text-center">
						<h2>产品展示</h2>
					</div>

					<div class="text-center">
						<ul class="nav nav-pills mix-filter margin-bottom-60">
							<li data-filter="all" class="filter active"><a href="#">所有产品</a></li>
                            <?php if(is_array($pro_cate)): $i = 0; $__LIST__ = $pro_cate;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$cate): $mod = ($i % 2 );++$i;?><li data-filter="<?php echo ($cate["id"]); ?>" class="filter"><a href="#"><?php echo ($cate["name"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
						</ul>
					</div>

				</div>

				<div id="portfolio" class="portfolio-nogutter">

						<div class="row mix-grid">
                        
                           <?php if(is_array($product)): $i = 0; $__LIST__ = $product;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$goods): $mod = ($i % 2 );++$i;?><div class="col-md-3 col-sm-3 mix <?php echo ($goods["category"]); ?>"><!-- item -->

								<div class="item-box">
									<figure>
										<span class="item-hover">
											<span class="overlay dark-5"></span>
											<span class="inner">

												<!-- lightbox -->
												<a class="ico-rounded lightbox" href="/Public/<?php echo ($goods["photo"]); ?>" data-plugin-options='{"type":"image"}'>
													<span class="fa fa-plus size-20"></span>
												</a>

												<!-- details -->
												<a class="ico-rounded" href="/index.php/home/Product/view/id/<?php echo ($goods["id"]); ?>">
													<span class="glyphicon glyphicon-option-horizontal size-20"></span>
												</a>

											</span>
										</span>
                                        <?php if(empty($goods['photo'])): ?><img class="img-responsive" src="/Public/img/nopic.jpg" width="600" height="399" >
                                        <?php else: ?>
										<img class="img-responsive" src="/Public/<?php echo ($goods["photo"]); ?>" width="600" height="399" alt="$goods.title"><?php endif; ?>
									</figure>

									<div class="item-box-desc">
                                    <a href="/index.php/home/Product/view/id/<?php echo ($goods["id"]); ?>">
										<h3><?php echo ($goods["title"]); ?></h3>
                                     </a>   
										<ul class="list-inline categories nomargin">
											<li><a href="#">包装规格</a></li>
										<li><a href="#"><?php if(!empty($goods['model'])): echo ($goods["model"]); else: ?>资讯森丰<?php endif; ?></a></li>
										</ul>
									</div>

								</div>

							</div><!-- /item --><?php endforeach; endif; else: echo "" ;endif; ?>




						</div>


				</div>
			</section>
			<!-- /PORTFOLIO -->




			<!-- Testimonials -->
			<section class="padding-xxs dark">
				<div class="container">

					<div class="owl-carousel text-center owl-testimonial nomargin" data-plugin-options='{"singleItem": true, "autoPlay": 3500, "navigation": false, "pagination": true, "transitionStyle":"fade"}'>
						<div class="testimonial">
							<figure>
								<img class="rounded" src="/Public/img/photo.jpg" alt="" />
							</figure>
							<div class="testimonial-content nopadding">
								<p class="lead">我们拥有资深的技师代客配色，上门调色，配色精准，速度快，且配有各种先进的测色仪器.</p>
								<cite>
									杨松森
									<span>总经理</span>
								</cite>
							</div>
						</div>
						<div class="testimonial">
							<figure>
								<img class="rounded" src="/Public/img/photo2.jpg" alt="" />
							</figure>
							<div class="testimonial-content nopadding">
								<p class="lead">主营：塑胶抽粒，塑胶配色及各种类型黑种、白种、金葱、银葱、金粉、银粉、珠光粉、UV粉、增白剂等等.</p>
								<cite>
									杨松森
									<span>总经理</span>
								</cite>
							</div>
						</div>
					</div>

				</div>
			</section>
			<!-- /Testimonials -->





			<!-- News -->
			<section id="news">
				<div class="container">

					<div class="heading-title heading-dotted text-center">
						<h2>行业资讯</h2>
					</div>

					<div class="owl-carousel owl-padding-10 buttons-autohide controlls-over" data-plugin-options='{"singleItem": false, "items":"4", "autoPlay": 4000, "navigation": true, "pagination": false}'>
                    
                    <?php if(is_array($news)): $i = 0; $__LIST__ = $news;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$news): $mod = ($i % 2 );++$i;?><div class="img-hover">
							<a href="/index.php/home/News/view/newsid/<?php echo ($news["n_id"]); ?>">
                            <?php if(empty($news['n_img'])): ?><img class="img-responsive" src="/Public/img/nonewspic.jpg" >
                            <?php else: ?>
								<img class="img-responsive" src="/Public/<?php echo ($news["n_img"]); ?>" alt="<?php echo ($news["n_title"]); ?>" ><?php endif; ?>    
							</a>

							<h4 class="text-left margin-top-20"><a href="/index.php/home/News/view/newsid/<?php echo ($news["n_id"]); ?>"><?php echo ($news["n_title"]); ?></a></h4>
							<p class="text-left" style="overflow:hidden; text-overflow:ellipsis; white-space:nowrap;"><?php echo (strip_tags($news["n_content"])); ?></p>
							<ul class="text-left size-12 list-inline list-separator">
								<li>
									<i class="fa fa-calendar"></i> 
									<?php echo ($news["n_date"]); ?>
								</li>
							</ul>
						</div><?php endforeach; endif; else: echo "" ;endif; ?>



		
	
					</div>

				</div>
			</section>
			<!-- /News -->




			<!-- Overview -->
			<section id="about">
				<div class="container text-center">

					<div class="row text-left">

						<div class="col-sm-8">
                        <?php if(empty($about['n_img'])): ?><img class="img-responsive" src="/Public/img/no.png" style=" width:700px;"/>
                        <?php else: ?>
							<img class="img-responsive" src="/Public/<?php echo ($about["n_img"]); ?>" alt="<?php echo ($about["n_title"]); ?>" style=" width:700px;"/><?php endif; ?>    
						</div>

						<div class="col-sm-4">
							<h3 class="weight-300">关于<span>我们</span></h3>
						
							<p style="overflow:hidden; text-overflow:ellipsis; white-space:nowrap;"><?php echo (substr($about["n_content"],0,1200)); ?></p>
							

						</div>
					</div>

				</div>
			</section>
			<!-- /Overview -->
			<!-- FOOTER -->
           
			<footer id="footer">
				<div class="container">
                  
					<div class="row">
						
						<div class="col-md-4">
							<!-- Footer Logo -->
                            <?php if(empty($system['logo'])): ?><img class="footer-logo" src="/Public/img/logo.png" alt="<?php echo ($system["sitename"]); ?>" />
                            <?php else: ?>
							<img class="footer-logo" src="/Public/<?php echo ($system["logo"]); ?>" alt="<?php echo ($system["sitename"]); ?>" /><?php endif; ?>
							<!-- Small Description -->
							<?php echo ($system["sitename"]); ?><br />
                            <?php echo ($system["description"]); ?>

						</div>

						<div class="col-md-4">

							<!-- Latest Blog Post -->
							<h4 class="letter-spacing-1">联系方式</h4>

							<!-- Contact Address -->
							<address>
								<ul class="list-unstyled">
									<li class="footer-sprite address">
										<?php echo ($system["address"]); ?>
									</li>
									<li class="footer-sprite phone">
										座机: <?php echo ($system["tel"]); ?><br />
                                        
									</li>
									<li class="footer-sprite email">
										<a href="mailto:<?php echo ($system["email"]); ?>"><?php echo ($system["email"]); ?></a>
									</li>
								</ul>
							</address>
							<!-- /Contact Address -->
							<!-- /Latest Blog Post -->

						</div>

						<div class="col-md-4">

							<!-- Links -->
							<h4 class="letter-spacing-1">网站地图</h4>
							<ul class="footer-links list-unstyled">
								<li><a href="/index.php/home">首页</a></li>
								<li><a href="/index.php/home/product">产品展示</a></li>
								<li><a href="/index.php/home/news">行业资讯</a></li>
								<li><a href="/index.php/home/about">关于我们</a></li>
								<li><a href="/index.php/home/about/contact">联系我们</a></li>
							</ul>
							<!-- /Links -->

						</div>

					</div>

				</div>


				<div class="copyright">
					<div class="container  text-center">
                        <?php echo ($system["icp"]); ?><br />
						<?php echo ($system["copyright"]); ?>
					</div>
				</div>
			</footer>
            
			<!-- /FOOTER -->

		</div>
		<!-- /wrapper -->


		<!-- SCROLL TO TOP -->
		<a href="#" id="toTop"></a>


		<!-- PRELOADER -->
		<div id="preloader">
			<div class="inner">
				<span class="loader"></span>
			</div>
		</div><!-- /PRELOADER -->


		<!-- JAVASCRIPT FILES -->
		<script type="text/javascript">var plugin_path = '/Public/home/style/plugins/';</script>
		<script type="text/javascript" src="/Public/home/style/plugins/jquery/jquery-2.1.4.min.js"></script>

		<script type="text/javascript" src="/Public/home/style/js/scripts.js"></script>
		<!-- REVOLUTION SLIDER -->
		<script type="text/javascript" src="/Public/home/style/plugins/slider.revolution/js/jquery.themepunch.tools.min.js"></script>
		<script type="text/javascript" src="/Public/home/style/plugins/slider.revolution/js/jquery.themepunch.revolution.min.js"></script>
		<script type="text/javascript" src="/Public/home/style/js/view/demo.revolution_slider.js"></script>
	</body>
</html>